package xiaocao.learn.designpattern.filter;

public class MsgProcessor {
	String msg;
	private FilterChain filterChain;
	public String processor(){
		String r= filterChain.doFilter(msg);
		return r;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public FilterChain getFilterChain() {
		return filterChain;
	}
	public void setFilterChain(FilterChain filterChain) {
		this.filterChain = filterChain;
	}
	

	
	

}
